package com.fjnu.dao;

import com.fjnu.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CategoryDao {
    int insert(Category category);
    int delete(Integer categoryId);
    List<Category> selectAll();
    Category selectById(Integer id);
}